import instance from '../config/index'
import qs from 'qs'
let  wapUrl="http://api.51clj.com";
export default {
   // 账户信息
   
    banner(data){
        return instance.post(instance.wapUrl+"/app/open/index/banner",qs.stringify(data))   
    },
    // 操盘达人
    expert(data){
        return instance.post(instance.wapUrl+"/app/open/index/expert",qs.stringify(data))
    },
    // 策略排行
    ideaRank(data){
        return instance.post(instance.wapUrl+"/app/open/index/ideaRank",qs.stringify(data))
    },
    // 今日推荐
    equityRecommend(data){
        return instance.post(instance.wapUrl+"/app/open/simulation/equity/equityRecommend",qs.stringify(data))
    },
    //首页行情
    realTimeJson(data){
        return instance.post(instance.wapUrl+"/app/open/quote/realTimeJson",qs.stringify(data))                
    },
    
      //股票查询
    searchStock(data){
        return instance.post(instance.wapUrl+"/app/open/quote/searchStock",qs.stringify(data))                 
    },
}